package com.smedi.ismedi.inmail.core.application.command;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 总院发布的通知公告请求
 *
 * @author jiangqinxuan
 * &#064;date  2021/07/27
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class LoginLogLogoutCommand implements Serializable {
    /**
     * id
     */
    private Long id;

    /**
     * id
     */
    private LocalDateTime logoutTime;

    public LocalDateTime getLogoutTime() {
        return LocalDateTime.now();
    }
}